package com.telit.firecommand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.telit.common.entity.DataReturn;
import com.telit.firecommand.dto.CommFireRiskLevelDto;
import com.telit.firecommand.dto.FireWarnDto;
import com.telit.firecommand.entity.CommFireRiskLevel;

public interface CommFireRiskLevelService extends IService<CommFireRiskLevel> {
    DataReturn add(CommFireRiskLevelDto dto);

    DataReturn selectByPage(Integer page, Integer rows, String fireSeasonName);

    DataReturn queryByName(String fireSeasonName);

    DataReturn updateByName(CommFireRiskLevelDto dto);

    void deleteByName(String fireSeasonName);

    void release(String fireSeasonName, String isRelease);

    Object getFireWarning(String districtCode);

    Object getFireLevelNum(String districtCode);
}
